package com.example.websocket.pojo;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

/**
 * @ author 韩
 * time: 2024/2/16 18:13
 */
@Data
public class LoginDTO {
//    @Pattern(regexp = "^\\S{3,10}$",message = "名称必须由3~10个字符组成！")
    private String username;
//    @Pattern(regexp = "^\\S{3,15}$",message = "密码必须由3~15字符组成！")
    private String password;
}
